<div id="title">{$lang.block_title}</div>
<div class="blockLanguages">

    <form method="post" name="languages">
     <a href="javascript:void(0);" class="current-language"><img src="{$BACKEND_IMAGES}languages/{$current.code}.png" alt="icon" title="{$current.language}" height="10" /> <span>{$current.language}</span></a>
     <ul class="languages-list" style="display:none; z-index: 9999;">
        {foreach from=$languages item=language}
             <li><a href="#"  onclick="submitLangForm('{$language.code}');" title="{$language.language}"><img src="{$BACKEND_IMAGES}languages/{$language.code}.png" alt="icon" title="{$language.language}" height="10" /> &nbsp;  <span>{$language.language}</span></a></li>
        {/foreach}
     </ul>
     <input type="hidden" name="langCode" />
     </form>
</div>